<%--
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/global.jsp" %>
  &lt;%&ndash; [扩展JS] &ndash;%&gt;
<script type="text/javascript" src="${staticPath }/static/jquery.validate-all.js" charset="utf-8"></script>
<script type="text/javascript">
    $(function() {

        $('#addAppUserByImgForm').form({
            url : '${path }/appVip/addAccount',
            onSubmit : function() {
                progressLoad();
                var isValid = $(this).form('validate');
                if (!isValid) {
                    progressClose();
                }
                return isValid;
            },
            success : function(result) {
                progressClose();
                result = $.parseJSON(result);
                if (result.success) {
                    searchDataGridTree();
                    parent.$.modalDialog.handler.dialog('close');

                } else {
                    parent.$.messager.alert('错误', result.msg, 'error');
                }
            }
        });

    });
</script>
<div class="easyui-layout" data-options="fit:true,border:false" >
    <div data-options="region:'center',border:false" style="overflow: hidden;padding: 3px;" >
        <form id="addAppUserByImgForm" method="post">
            <table class="grid">
                <tr>
                    <td>会员号</td>
                    <td><input name="vip_code" type="text" placeholder="请输入手机号" class="easyui-validatebox span2"  data-options="required:true,validType:'mobile'" value=""></td>
                </tr>
                <tr>
                    <td>推荐人</td>
                    <input name="push_code" value="${pushCode}"   type="hidden"   >
                    <td>
                        ${pushCode}
                    </td>
                </tr>
                <tr>
                    <td>充值金额</td>
                    <td>
                        <select   name="awards" class="easyui-combobox" data-options="width:140,height:25,editable:false,panelHeight:'auto'">
                            <option value="3000">3000</option>
                            <option value="9000">9000</option>
                            <option value="30000">30000</option>
                            <option value="60000">60000</option>
                        </select>
                    </td>
                </tr>
            </table>
        </form>
    </div>
</div>--%>
